home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / be004.dxr / 00035.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  370 b   |  19 lines

  1. on exitFrame
  2.   global gOriginalTick, gLastTick, giY
  3.   if (the ticks - gOriginalTick) < 135 then
  4.     set giY to 2 * (the ticks - gLastTick)
  5.     set gLastTick to the ticks
  6.     set the locV of sprite 10 to the locV of sprite 10 + giY
  7.     updateStage()
  8.   end if
  9.   if the timer < 2570 then
  10.     go(the frame)
  11.   else
  12.     go(the frame + 2)
  13.   end if
  14. end
  15.  
  16. on mouseUp
  17.   go(80)
  18. end
  19.